package com.practice.springboot_01_zwj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class ReportDetails {
    private Integer rid;  //二级id
    private String projectStage; //项目阶段
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planBeginTime;  //计划开始时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planEndTime;  //计划结束时间
    private Double secondProgress;  //完成进度
    private String delayFlag;  //是否延期
    private Integer keyId; //一级id
    private String specificSituation;  //具体进展

    public String getSpecificSituation() {
        return specificSituation;
    }

    public void setSpecificSituation(String specificSituation) {
        this.specificSituation = specificSituation;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getProjectStage() {
        return projectStage;
    }

    public void setProjectStage(String projectStage) {
        this.projectStage = projectStage;
    }

    public Date getPlanBeginTime() {
        return planBeginTime;
    }

    public void setPlanBeginTime(Date planBeginTime) {
        this.planBeginTime = planBeginTime;
    }

    public Date getPlanEndTime() {
        return planEndTime;
    }

    public void setPlanEndTime(Date planEndTime) {
        this.planEndTime = planEndTime;
    }

    public Double getSecondProgress() {
        return secondProgress;
    }

    public void setSecondProgress(Double secondProgress) {
        this.secondProgress = secondProgress;
    }

    public String getDelayFlag() {
        return delayFlag;
    }

    public void setDelayFlag(String delayFlag) {
        this.delayFlag = delayFlag;
    }

    public Integer getKeyId() {
        return keyId;
    }

    public void setKeyId(Integer keyId) {
        this.keyId = keyId;
    }
}
